CreateFrom(byte[], int, int, PixelFormat)

Method

Namespace: Imagini.Drawing

Declared in: Imagini.Drawing.Surface


Creates a surface with the specified format from the specified pixel data.

Syntax

public static Surface CreateFrom(
	byte[] data,
	int width,
	int height,
	PixelFormat format
)

Parameters

data

The pixel data to create surface from

width

Surface width

height

Surface height

format

Surface format


Back to index